#INCLUDE(${PROJECT_SOURCE_DIR}/cmake/TARGET.cmake)

#SET(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} ${DEBUG_CFLAGS}")
#SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${DEBUG_CFLAGS}")

enable_language(ASM)
set_property(SOURCE head.S PROPERTY LANGUAGE C)

add_library(boot STATIC cpuid.c early.c head.S) 

set(CMAKE_C_FLAGS "${DEBUG_CFLAGS}")

#SET_TARGET_PROPERTIES(boot PROPERTIES LINK_FLAGS -rdynamic)

INCLUDE(CPack)

ENABLE_TESTING()

